package com.ewanghuiju.app.model;

import com.ewanghuiju.app.model.bean.local.HomeLimitedSeckillLocalTop;
import com.ewanghuiju.app.model.bean.local.MessageCommonBean;
import com.ewanghuiju.app.model.bean.local.SearchHotBean;
import com.ewanghuiju.app.model.bean.local.VipEquityBean;
import com.ewanghuiju.app.model.bean.request.AddressRequestBean;
import com.ewanghuiju.app.model.bean.request.LoginRequestBean;
import com.ewanghuiju.app.model.bean.request.PhoneRegistbindRequestBean;
import com.ewanghuiju.app.model.bean.request.PintuanSearchRequestBean;
import com.ewanghuiju.app.model.bean.response.AddressListResponBean;
import com.ewanghuiju.app.model.bean.response.ArticleArticleResponBean;
import com.ewanghuiju.app.model.bean.response.BillListResponBean;
import com.ewanghuiju.app.model.bean.response.BindUserinfoResponBean;
import com.ewanghuiju.app.model.bean.response.BuyDailiInfoBean;
import com.ewanghuiju.app.model.bean.response.EarningsInfoBean;
import com.ewanghuiju.app.model.bean.response.HistorySearchResponBean;
import com.ewanghuiju.app.model.bean.response.InviteFriendResponBean;
import com.ewanghuiju.app.model.bean.response.InviterInfo;
import com.ewanghuiju.app.model.bean.response.LoginResponBean;
import com.ewanghuiju.app.model.bean.response.MailShopResponBean;
import com.ewanghuiju.app.model.bean.response.OrderStatusResponBean;
import com.ewanghuiju.app.model.bean.response.PaySignResponBean;
import com.ewanghuiju.app.model.bean.response.PhoneCodeResponseBean;
import com.ewanghuiju.app.model.bean.response.PhoneRegistbindResponBean;
import com.ewanghuiju.app.model.bean.response.PingjiaListResponBean;
import com.ewanghuiju.app.model.bean.response.PintuanClassifyResponBean;
import com.ewanghuiju.app.model.bean.response.PintuanGoodsSpecsResponBean;
import com.ewanghuiju.app.model.bean.response.PintuanHeadListResponBean;
import com.ewanghuiju.app.model.bean.response.PintuanOnlineListResponBean;
import com.ewanghuiju.app.model.bean.response.PintuanOrderDetailsResponBean;
import com.ewanghuiju.app.model.bean.response.PintuanOrderListResponBean;
import com.ewanghuiju.app.model.bean.response.PintuanShopListResponBean;
import com.ewanghuiju.app.model.bean.response.RedBeanDetailsResponBean;
import com.ewanghuiju.app.model.bean.response.RedEnvelopesDetailsResponBean;
import com.ewanghuiju.app.model.bean.response.RuleBean;
import com.ewanghuiju.app.model.bean.response.ShareResponBean;
import com.ewanghuiju.app.model.bean.response.TeamInfoResponBean;
import com.ewanghuiju.app.model.bean.response.UserInfoResponBean;
import com.ewanghuiju.app.model.bean.response.VersionResponBean;
import com.ewanghuiju.app.model.bean.response.VipUpOrderRecordResponBean;
import com.ewanghuiju.app.model.bean.response.WaterDetailsResponBean;
import com.ewanghuiju.app.model.bean.response.WaterGoodsClassifyBean;
import com.ewanghuiju.app.model.bean.response.WaterOrderListResponBean;
import com.ewanghuiju.app.model.bean.response.WaterShopResponBean;
import com.ewanghuiju.app.model.bean.response.ZfbInfoBean;
import com.ewanghuiju.app.model.dp.DBHelper;
import com.ewanghuiju.app.model.http.HttpHelper;
import com.ewanghuiju.app.model.http.request.BaseRequest;
import com.ewanghuiju.app.model.http.response.BaseResponse;
import com.ewanghuiju.app.model.http.response.MyHttpResponse;
import com.ewanghuiju.app.model.prefs.PreferencesHelper;
import com.ewanghuiju.app.test.bean.PintuanClassifyRightBean;

import java.util.List;
import java.util.Map;

import io.reactivex.Flowable;
import okhttp3.RequestBody;

/**
 * @author sj  qq:751943509
 * @class describe
 * @time 2020/2/10
 */
public class DataManager implements HttpHelper, DBHelper, PreferencesHelper {

    HttpHelper mHttpHelper;
    DBHelper mDbHelper;
    PreferencesHelper mPreferencesHelper;

    public DataManager(HttpHelper httpHelper, DBHelper dbHelper, PreferencesHelper preferencesHelper) {
        mHttpHelper = httpHelper;
        mDbHelper = dbHelper;
        mPreferencesHelper = preferencesHelper;
    }

    @Override
    public Flowable<MyHttpResponse<LoginResponBean>> phoneLogin(LoginRequestBean loginRequestBean) {
        return mHttpHelper.phoneLogin(loginRequestBean);
    }

    @Override
    public Flowable<MyHttpResponse<PhoneRegistbindResponBean>> phoneRegist(PhoneRegistbindRequestBean phoneRegistbindRequestBean) {
        return mHttpHelper.phoneRegist(phoneRegistbindRequestBean);
    }

    @Override
    public Flowable<MyHttpResponse<PhoneRegistbindResponBean>> userEditpwd(PhoneRegistbindRequestBean phoneRegistbindRequestBean) {
        return mHttpHelper.userEditpwd(phoneRegistbindRequestBean);
    }

    @Override
    public Flowable<MyHttpResponse<PhoneRegistbindResponBean>> phoneBind(PhoneRegistbindRequestBean phoneRegistbindRequestBean) {
        return mHttpHelper.phoneBind(phoneRegistbindRequestBean);
    }

    @Override
    public Flowable<MyHttpResponse<UserInfoResponBean>> getUserInfo() {
        return mHttpHelper.getUserInfo();
    }

    @Override
    public Flowable<MyHttpResponse<PhoneCodeResponseBean>> getCode(String mobile) {
        return mHttpHelper.getCode(mobile);
    }

    @Override
    public Flowable<MyHttpResponse<PhoneCodeResponseBean>> getCodeWithReg(String mobile, String type) {
        return mHttpHelper.getCodeWithReg(mobile, type);
    }

    @Override
    public Flowable<MyHttpResponse<InviterInfo>> getInviterinfo(BaseRequest baseRequest) {
        return mHttpHelper.getInviterinfo(baseRequest);
    }

    @Override
    public Flowable<MyHttpResponse> addCode(String code) {
        return mHttpHelper.addCode(code);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> taokeGetlbimg(String type) {
        return mHttpHelper.taokeGetlbimg(type);
    }

    @Override
    public Flowable<MyHttpResponse<List<ArticleArticleResponBean>>> articleArticlelist() {
        return mHttpHelper.articleArticlelist();
    }

    @Override
    public Flowable<MyHttpResponse<HomeLimitedSeckillLocalTop>> getTbqg() {
        return mHttpHelper.getTbqg();
    }


    @Override
    public Flowable<MyHttpResponse<List<MailShopResponBean>>> getTbyoulike(int page) {
        return mHttpHelper.getTbyoulike(page);
    }

    @Override
    public Flowable<MyHttpResponse<List<PintuanClassifyResponBean>>> getPticatesAll() {
        return mHttpHelper.getPticatesAll();
    }

    @Override
    public Flowable<MyHttpResponse<List<PintuanClassifyResponBean>>> getPticateslist() {
        return mHttpHelper.getPticateslist();
    }

    @Override
    public Flowable<MyHttpResponse<PintuanClassifyRightBean>> getPticatesToo(BaseRequest baseRequest) {
        return mHttpHelper.getPticatesToo(baseRequest);
    }

    @Override
    public Flowable<MyHttpResponse<List<PintuanShopListResponBean>>> getPtihotGoodsList(int page, String spe_price, String sales, String people_number) {
        return mHttpHelper.getPtihotGoodsList(page, spe_price, sales, people_number);
    }

    @Override
    public Flowable<MyHttpResponse<AddressListResponBean>> addPtiaddress(AddressRequestBean addressRequestBean) {
        return mHttpHelper.addPtiaddress(addressRequestBean);
    }

    @Override
    public Flowable<MyHttpResponse<AddressListResponBean>> addPtiaddressEdit(AddressRequestBean addressRequestBean) {
        return mHttpHelper.addPtiaddressEdit(addressRequestBean);
    }

    @Override
    public Flowable<MyHttpResponse<List<MailShopResponBean>>> tbGoodsgao(int page) {
        return mHttpHelper.tbGoodsgao(page);
    }

    @Override
    public Flowable<MyHttpResponse<List<PintuanShopListResponBean>>> getPtisearch(PintuanSearchRequestBean bean) {
        return mHttpHelper.getPtisearch(bean);
    }

    @Override
    public Flowable<MyHttpResponse<List<AddressListResponBean>>> getPtiaddresslist() {
        return mHttpHelper.getPtiaddresslist();
    }

    @Override
    public Flowable<MyHttpResponse<PintuanShopListResponBean>> getPintuansearch(int page, String name, String spe_price, String sales, String people_number) {
        return mHttpHelper.getPintuansearch(page, name, spe_price, sales, people_number);
    }

    @Override
    public Flowable<MyHttpResponse<List<PintuanGoodsSpecsResponBean>>> getPtigoodsSpecs(String goodsid) {
        return mHttpHelper.getPtigoodsSpecs(goodsid);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> setPaypwd(String paypwd, String paypwd1) {
        return mHttpHelper.setPaypwd(paypwd, paypwd1);
    }

    @Override
    public Flowable<MyHttpResponse<List<PintuanShopListResponBean>>> getPticateGoodsList(int page, String id, String spe_price, String sales, String people_number) {
        return mHttpHelper.getPticateGoodsList(page, id, spe_price, sales, people_number);
    }

    @Override
    public Flowable<MyHttpResponse<List<PintuanShopListResponBean>>> getPticateOneGoodsList(int page, String id, String spe_price, String sales, String people_number) {
        return mHttpHelper.getPticateOneGoodsList(page, id, spe_price, sales, people_number);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> deletePtngoodsList(int id) {
        return mHttpHelper.deletePtngoodsList(id);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> ptigetIdentity(String goods_id) {
        return mHttpHelper.ptigetIdentity(goods_id);
    }

    @Override
    public Flowable<MyHttpResponse<AddressListResponBean>> pticonfirmationOrder(String goods_id, String specs_id, String group_id) {
        return mHttpHelper.pticonfirmationOrder(goods_id, specs_id, group_id);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> ptistarGroup(String goods_id, String address_id, String specs_id, String actual_payment, String pay_password, String is_goods,String order_remark) {
        return mHttpHelper.ptistarGroup(goods_id, address_id, specs_id, actual_payment, pay_password, is_goods,order_remark);
    }

    @Override
    public Flowable<MyHttpResponse<PintuanOrderDetailsResponBean>> ptiorderInfo(String order_id) {
        return mHttpHelper.ptiorderInfo(order_id);
    }

    @Override
    public Flowable<MyHttpResponse<List<PintuanOrderListResponBean>>> getPtiorderList(int page, int order_type, String type) {
        return mHttpHelper.getPtiorderList(page, order_type, type);
    }

    @Override
    public Flowable<MyHttpResponse<List<PintuanOnlineListResponBean>>> getPtigroupList(String goods_id) {
        return mHttpHelper.getPtigroupList(goods_id);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> ptijoinGroup(String group_id, String address_id, String specs_id, String pay_password, String order_remark) {
        return mHttpHelper.ptijoinGroup(group_id, address_id, specs_id, pay_password, order_remark);
    }

    @Override
    public Flowable<MyHttpResponse<PaySignResponBean>> userpay(String payType, String pay_price) {
        return mHttpHelper.userpay(payType, pay_price);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> ptitakeDelivery(String order_id) {
        return mHttpHelper.ptitakeDelivery(order_id);
    }

    @Override
    public Flowable<MyHttpResponse<ShareResponBean>> ptiptGoodsShare(String goods_id, String group_id) {
        return mHttpHelper.ptiptGoodsShare(goods_id, group_id);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> ptieValuation(String order_id, String content, String image, String stars) {
        return mHttpHelper.ptieValuation(order_id, content, image, stars);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> uploadFlie(Map<String, RequestBody> files) {
        return mHttpHelper.uploadFlie(files);
    }

    @Override
    public Flowable<MyHttpResponse<List<HistorySearchResponBean>>> ptihistory() {
        return mHttpHelper.ptihistory();
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> ptihistoryDelete(String type, String name) {
        return mHttpHelper.ptihistoryDelete(type, name);
    }

    @Override
    public Flowable<MyHttpResponse<List<PingjiaListResponBean>>> ptievaluationList(int page, String type, String goods_id) {
        return mHttpHelper.ptievaluationList(page, type, goods_id);
    }

    @Override
    public Flowable<MyHttpResponse<PintuanShopListResponBean>> getptigoodsInfo(String goodsid) {
        return mHttpHelper.getptigoodsInfo(goodsid);
    }

    @Override
    public Flowable<MyHttpResponse<List<SearchHotBean>>> ptihotWords() {
        return mHttpHelper.ptihotWords();
    }

    @Override
    public Flowable<MyHttpResponse<VipEquityBean>> getVipEquityBeanInfo() {
        return mHttpHelper.getVipEquityBeanInfo();
    }

    @Override
    public Flowable<MyHttpResponse<InviteFriendResponBean>> getQrcodeInfo() {
        return mHttpHelper.getQrcodeInfo();
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> getOsstoken(String sessionname) {
        return mHttpHelper.getOsstoken(sessionname);
    }

    @Override
    public Flowable<MyHttpResponse<PintuanHeadListResponBean>> getPtigroupUserImage(String group_id) {
        return mHttpHelper.getPtigroupUserImage(group_id);
    }

    @Override
    public Flowable<MyHttpResponse<LoginResponBean>> wxUserLogin(String unionid, String mobile) {
        return mHttpHelper.wxUserLogin(unionid, mobile);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> getPtigetGroupIntegral(String integral) {
        return mHttpHelper.getPtigetGroupIntegral(integral);
    }

    @Override
    public Flowable<MyHttpResponse<LoginResponBean>> userMobileparentid(String mobile, String number) {
        return mHttpHelper.userMobileparentid(mobile, number);
    }

    @Override
    public Flowable<MyHttpResponse<List<BindUserinfoResponBean>>> getUserNum(String unionid, String mobile, String code) {
        return mHttpHelper.getUserNum(unionid, mobile, code);
    }

    @Override
    public Flowable<MyHttpResponse<LoginResponBean>> wxUserRegister(String unionid, String mobile, String number, String headimgurl, String nickname) {
        return mHttpHelper.wxUserRegister(unionid, mobile, number, headimgurl, nickname);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> getPtigroupIntegralSum(String number) {
        return mHttpHelper.getPtigroupIntegralSum(number);
    }

    @Override
    public Flowable<MyHttpResponse<BillListResponBean>> getWalletList(int page, String price_type, String time_type, String status) {
        return mHttpHelper.getWalletList(page, price_type, time_type, status);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> bindUserjg(String jpush_id) {
        return mHttpHelper.bindUserjg(jpush_id);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> updateAlipay(String uname, String alipay, String mobile, String code) {
        return mHttpHelper.updateAlipay(uname, alipay, mobile, code);
    }

    @Override
    public Flowable<MyHttpResponse<ZfbInfoBean>> getAlipayinfo() {
        return mHttpHelper.getAlipayinfo();
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> withdraw(String price, String type, String realname, String alipay, String password) {
        return mHttpHelper.withdraw(price, type, realname, alipay, password);
    }

    @Override
    public Flowable<MyHttpResponse<EarningsInfoBean>> getPtiprofitCenter(String type) {
        return mHttpHelper.getPtiprofitCenter(type);
    }

    @Override
    public Flowable<MyHttpResponse<BuyDailiInfoBean>> getPtibuyDailiInfo() {
        return mHttpHelper.getPtibuyDailiInfo();
    }

    @Override
    public Flowable<MyHttpResponse<List<PintuanShopListResponBean>>> getPtiGoodsList(int page) {
        return mHttpHelper.getPtiGoodsList(page);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> ptibuyDaili(String area_id) {
        return mHttpHelper.ptibuyDaili(area_id);
    }

    @Override
    public Flowable<MyHttpResponse<List<VipUpOrderRecordResponBean>>> ptibuyDailiRecord() {
        return mHttpHelper.ptibuyDailiRecord();
    }

    @Override
    public Flowable<MyHttpResponse<TeamInfoResponBean>> getMyfans(int page, String search, int type) {
        return mHttpHelper.getMyfans(page, search, type);
    }

    @Override
    public Flowable<MyHttpResponse<List<WaterShopResponBean>>> getJfgoods(int page) {
        return mHttpHelper.getJfgoods(page);
    }

    @Override
    public Flowable<MyHttpResponse<WaterShopResponBean>> getJfgoodsinfo(String id) {
        return mHttpHelper.getJfgoodsinfo(id);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> integralConversion(String goods_id, String goods_num, String address_id, String pay_password,String order_remark) {
        return mHttpHelper.integralConversion(goods_id, goods_num, address_id, pay_password,order_remark);
    }

    @Override
    public Flowable<MyHttpResponse<List<WaterOrderListResponBean>>> getIntegralconversionlist(int page) {
        return mHttpHelper.getIntegralconversionlist(page);
    }

    @Override
    public Flowable<MyHttpResponse<WaterOrderListResponBean>> getIntegralconversioninfo(String id) {
        return mHttpHelper.getIntegralconversioninfo(id);
    }

    @Override
    public Flowable<MyHttpResponse<RedBeanDetailsResponBean>> getPtiredBeanInfo(int page) {
        return mHttpHelper.getPtiredBeanInfo(page);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> ptiredeanProportion(String number) {
        return mHttpHelper.ptiredeanProportion(number);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> ptistocksInfo(String number, String stocks) {
        return mHttpHelper.ptistocksInfo(number, stocks);
    }

    @Override
    public Flowable<MyHttpResponse<WaterDetailsResponBean>> ptistocksInfo() {
        return mHttpHelper.ptistocksInfo();
    }

    @Override
    public Flowable<MyHttpResponse<List<RedBeanDetailsResponBean>>> getPtiintegralinfo(int page) {
        return mHttpHelper.getPtiintegralinfo(page);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> ptitransferIntegral(String number, String mobile) {
        return mHttpHelper.ptitransferIntegral(number, mobile);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> ptiopinion(String content, String platform_type, String version) {
        return mHttpHelper.ptiopinion(content, platform_type, version);
    }

    @Override
    public Flowable<MyHttpResponse<List<MessageCommonBean>>> getPtitutorialList(int page) {
        return mHttpHelper.getPtitutorialList(page);
    }

    @Override
    public Flowable<MyHttpResponse<TeamInfoResponBean>> getMyfansinfo(int page, String search, String id) {
        return mHttpHelper.getMyfansinfo(page, search, id);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> settingWxCard(String wx_card) {
        return mHttpHelper.settingWxCard(wx_card);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> userinfo_edit(String type, String avatar, String nickname) {
        return mHttpHelper.userinfo_edit(type, avatar, nickname);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> mobileEdit(String old_mobile, String pwd, String mobile, String code) {
        return mHttpHelper.mobileEdit(old_mobile, pwd, mobile, code);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> mobileWx(String unionid, String headimgurl, String nickname) {
        return mHttpHelper.mobileWx(unionid, headimgurl, nickname);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> wxDel(String wx) {
        return mHttpHelper.wxDel(wx);
    }

    @Override
    public Flowable<MyHttpResponse<RuleBean>> getPtiguize(String type) {
        return mHttpHelper.getPtiguize(type);
    }

    @Override
    public Flowable<MyHttpResponse<VersionResponBean>> getUpgradeInfo(String version, String type) {
        return mHttpHelper.getUpgradeInfo(version, type);
    }

    @Override
    public Flowable<MyHttpResponse<List<PintuanShopListResponBean>>> getPtihotGroupList(int page, String spe_price, String sales, String people_number) {
        return mHttpHelper.getPtihotGroupList(page, spe_price, sales, people_number);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> pticheckGroup(String group_id) {
        return mHttpHelper.pticheckGroup(group_id);
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> ptiLucydrawCheck() {
        return mHttpHelper.ptiLucydrawCheck();
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> ptiLuckydraw() {
        return mHttpHelper.ptiLuckydraw();
    }

    @Override
    public Flowable<MyHttpResponse<RedEnvelopesDetailsResponBean>> ptiLuckydrawList() {
        return mHttpHelper.ptiLuckydrawList();
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> ptiLuckyDrawoff() {
        return mHttpHelper.ptiLuckyDrawoff();
    }

    @Override
    public Flowable<MyHttpResponse<BaseResponse>> earningsWithdraw(String price, String type, String realname, String alipay, String password) {
        return mHttpHelper.earningsWithdraw(price, type, realname, alipay, password);
    }

    @Override
    public Flowable<MyHttpResponse<List<WaterGoodsClassifyBean>>> getJfgoodscate() {
        return mHttpHelper.getJfgoodscate();
    }

    @Override
    public Flowable<MyHttpResponse<List<WaterShopResponBean>>> getJfgoodscate(int page, String goods_cate_id) {
        return mHttpHelper.getJfgoodscate(page, goods_cate_id);
    }

    @Override
    public Flowable<MyHttpResponse<BillListResponBean>> getPtiprofitcenterList(int page, String type) {
        return mHttpHelper.getPtiprofitcenterList(page, type);
    }

    @Override
    public Flowable<MyHttpResponse<OrderStatusResponBean>> getPtiorderStatus() {
        return mHttpHelper.getPtiorderStatus();
    }


    @Override
    public boolean getNoImageState() {
        return mPreferencesHelper.getNoImageState();
    }


    @Override
    public String getToken() {
        return mPreferencesHelper.getToken();
    }

    @Override
    public void setToken(String token) {
        mPreferencesHelper.setToken(token);
    }

    @Override
    public boolean getIsAccepAgreement() {
        return mPreferencesHelper.getIsAccepAgreement();
    }

    @Override
    public void setIsAccepAgreement(boolean isAccep) {
        mPreferencesHelper.setIsAccepAgreement(isAccep);
    }

    @Override
    public boolean getIsFirst() {
        return mPreferencesHelper.getIsFirst();
    }

    @Override
    public void setIsFirst(boolean isFirst) {
        mPreferencesHelper.setIsFirst(isFirst);
    }

    @Override
    public void setIsAlias(boolean isAlias) {
        mPreferencesHelper.setIsAlias(isAlias);
    }

    @Override
    public boolean getIsAlias() {
        return mPreferencesHelper.getIsAlias();
    }

    @Override
    public String getLocalUserInfo() {
        return mPreferencesHelper.getLocalUserInfo();
    }

    @Override
    public void setLocalUserInfo(String str) {
        mPreferencesHelper.setLocalUserInfo(str);
    }

    @Override
    public void insertUserInfoResponBean(UserInfoResponBean bean) {
        mDbHelper.insertUserInfoResponBean(bean);
    }

    @Override
    public void deleteUserInfoResponBean() {
        mDbHelper.deleteUserInfoResponBean();
    }

    @Override
    public UserInfoResponBean getUserInfoResponBean() {
        return mDbHelper.getUserInfoResponBean();
    }
}

